#pragma once

class CDOMField;
class CBoundedDOMFieldProperty : public CMFCPropertyGridProperty
{
	DECLARE_DYNAMIC(CBoundedDOMFieldProperty)

public:
	CBoundedDOMFieldProperty(const CString& strName, const CDOMField &value, DWORD_PTR dwData = 0);
	CString FormatProperty() override;
	const CDOMField GetFieldValue();
	const CDOMField GetOriginalFieldValue();
	void SetFieldValue(const CDOMField &value);
	void SetOriginalFieldValue(const CDOMField &value);
	void ResetOriginalValue();
protected:
	CMFCPropertyGridProperty *m_ItemTag, *m_ItemName, *m_ItemIsID;
};
